package cn.qingyun.gis.modules.baogan.enums;

/**
 * @author wz
 * @version JDK 8
 * @className OperationTypeEnum (此处以class为例)
 * @date 2024/11/19
 * @description 基础数据状态
 */
public enum OperationTypeEnum {
    ADD(0, "新增"),
    UPDATE(1, "修改"),
    DELETE(2, "删除"),
    ;

    private final Integer code;
    private final String desc;

    OperationTypeEnum(Integer code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public Integer getCode() {
        return code;
    }

    public String getDesc() {
        return desc;
    }
}
